'use strict';

angular.module('com.dcos.app').constant('api', {
  initPageSize: 20,
  breadCrumbMap: {
    dashboard: {
      root: {name: '仪表盘'}
    },
    workflow: {
      root: {name: '工作流'},
      create: {
        root: {name: '配置工作流', url: 'app.workflow.create'}
      },
      build: {
        root: {name: '运行工作流', url: 'app.workflow.build'}
      }
    },
    templatemanage: {
      root: {name: '模板管理'},
      detail: {
        root: {name: '配置模板', url: 'app.templatemanage.detail'}
      }
    },
    reportcenter: {
      root: {name: '报表中心'}
    },
    environment: {
      root: {name: '环境管理'}
    },
    config: {
      root: {name: '配置管理'}
    },
    projectright: {
      root: {name: '项目权限'}
    },
    usercenter: {
      root: {name: '用户中心'}
    }
  }
});